package com.itheima.edu.info.manager.domain;


/*
    StudentContriller:客服
    StudentDao:库管
    Student:封装数据的
    InfoManagerEntry:入口
    StudentService:业务员
 */


import java.io.Serializable;

public class Person implements Serializable {

    //序列化与反序列化必须实现Serializable接口
    private static final long serialVersionUID = 8683452581122892189L;

    private String id;
    private String name;
    private String age;
    private String birthday;

    public Person() {
    }

    public Person(String id, String name, String age, String birthday) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return id+","+name+","+age+","+birthday;
    }
}
